0ca5d1fd1ed4a5fdc9fe506861f4455121f771af,mobile/src/main/java/com/gelakinetic/mtgfam/fragments/LifeCounterFragment.java,LifeCounterFragment,onInit,#number#,768

Before Change


            if (status == TextToSpeech.SUCCESS) {
                int result = mTts.setLanguage(getResources().getConfiguration().locale);
                if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {
                    getFamiliarActivity().showTtsDialog();
                } else {
                    mTtsInit = true;
                    if (mIsSearchViewOpen) {

After Change


                    result = TextToSpeech.LANG_AVAILABLE;
                }
                if (result == TextToSpeech.LANG_MISSING_DATA || result == TextToSpeech.LANG_NOT_SUPPORTED) {
                    FamiliarActivity activity = getFamiliarActivity();
                    if (activity != null) {
                        activity.showTtsDialog();
                    }
                } else {
                    mTtsInit = true;